#ifndef									__CLIENT_H__
#define									__CLIENT_H__

#include								<map>
#include								"ApiClient.h"
#include								"connection.h"

class									Client
{
	friend								ApiClient;
public:
	Client();
	~Client();

private:
	std::map<unsigned int, Connection*>	_clients;
public:
	ApiClient							*getApi();
	void								start();
	void								addConnection(unsigned int);
	bool								isConnected(unsigned int) const;

};

#endif // !__CLIENT_H__
